html{
    width: 100%;
    height: 100%;
    margin: 0;
}


.bg_pic{
    background-image: url("./img/blog.jpg");
    background-repeat: no-repeat;
    background-color: #c4d1d5;
    width: auto;
    height:600px;
    /*背景图片自适应大小，必须在width等参数后面*/
    background-size: 100% 100%;
}

.login{
    position: relative;
    top: 30%;
    left: 35%;
    background-color: pink;

    height:300px;
    width: 400px;
    border-radius: 20px;
    text-align: center;
}
input{
    font-size: 18px;
    margin: 10px;
    border-radius: 5px;
}

.code{
    font-size: 18px;
    position: relative;
    left: 18%;
    width: auto;
}

.code_input{
    width: 30%;
    float: left;
}
@keyframes shake { /* 水平抖动，核心代码 */
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(+2px, 0, 0); }
    30%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(+4px, 0, 0); }
    50% { transform: translate3d(-4px, 0, 0); }
}

.secure_code{
    width: 20%;
    float: left;
    margin: 10px 5px;
    height: 25px;
    background-color: whitesmoke;
    font-size: 10px;
    text-align: center;
    user-select:none;  /*设置不可复制验证码*/
}
.but{
    width: 300px;
    height: 40px;
    background-color: #4a77d4;
    border: 1px solid #3762bc;
    color: #fff;
    font-size: 15px;
    line-height: normal;
    border-radius: 5px;
}
.but:hover{
    background-color:limegreen;
    cursor: pointer;
}
.but:active {
    background-color: #3e8e41;
    box-shadow: 0 5px #666;
    transform: translateY(2px);
}

